﻿@model IEnumerable<Website.Models.WebLink>

@{
    ViewBag.Title = "Links";
}

<h2>Links</h2>

<table>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Caption)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Address)
        </td>
    </tr>
}

</table>

@Html.ActionLink("Manage", "Manage", "Links")